<?php
namespace app\index\controller;
use Home\Model\UserModel;

class Creditlimit extends User{
    public function index(){
        $type=input('type');
        if(empty($type)){
            $type=0;
        }
        $this->assign('type',$type);
        return $this->fetch();
    }
}